1
0
mirror of https://github.com/chylex/TweetDuck.git synced 2025-09-14 10:32:10 +02:00

Compare commits

...

3 Commits

5 changed files with 7 additions and 5 deletions

View File

@@ -16,12 +16,14 @@ using TweetDuck.Dialogs;
using TweetDuck.Dialogs.Settings;
using TweetDuck.Management;
using TweetDuck.Plugins;
using TweetDuck.Resources;
using TweetDuck.Updates;
using TweetDuck.Utils;
using TweetLib.Core.Features.Plugins;
using TweetLib.Core.Features.Plugins.Events;
using TweetLib.Core.Systems.Updates;
#if DEBUG
using TweetDuck.Resources;
#endif
namespace TweetDuck.Browser {
sealed partial class FormBrowser : Form {

View File

@@ -45,7 +45,7 @@
}
loadModules().then(([ successes, total ]) => {
if ("$TD" in window && "notifyModulesLoaded" in window.$TD) {
if ("$TD" in window && "onModulesLoaded" in window.$TD) {
notifyModulesLoaded(window.$TD);
}

View File

@@ -1,4 +1,5 @@
import { $TDX } from "../api/bridge.js";
import { isAppReady } from "../api/ready.js";
import { replaceFunction } from "./globals/patch_functions.js";
/**
@@ -35,7 +36,7 @@ export default function() {
};
replaceFunction(HTMLAudioElement.prototype, "play", function(func, args) {
if (!$TDX.muteNotifications) {
if (!$TDX.muteNotifications && isAppReady()) {
func.apply(this, args);
}
});

View File

@@ -61,7 +61,6 @@ function displayNotification(version, changelog) {
const exitNow = function() {
ele.remove();
log.remove();
css.remove();
};
const exitSlide = function() {

View File

@@ -6,6 +6,6 @@ using TweetDuck;
namespace TweetDuck {
internal static class Version {
public const string Tag = "1.21";
public const string Tag = "1.21.0.1";
}
}