mirror of
https://github.com/chylex/TweetDuck.git
synced 2025-09-14 19:32:10 +02:00
Compare commits
3 Commits
Author | SHA1 | Date | |
---|---|---|---|
29fee155d7
|
|||
32728fc20a
|
|||
394cb80022
|
@@ -16,12 +16,14 @@ using TweetDuck.Dialogs;
|
|||||||
using TweetDuck.Dialogs.Settings;
|
using TweetDuck.Dialogs.Settings;
|
||||||
using TweetDuck.Management;
|
using TweetDuck.Management;
|
||||||
using TweetDuck.Plugins;
|
using TweetDuck.Plugins;
|
||||||
using TweetDuck.Resources;
|
|
||||||
using TweetDuck.Updates;
|
using TweetDuck.Updates;
|
||||||
using TweetDuck.Utils;
|
using TweetDuck.Utils;
|
||||||
using TweetLib.Core.Features.Plugins;
|
using TweetLib.Core.Features.Plugins;
|
||||||
using TweetLib.Core.Features.Plugins.Events;
|
using TweetLib.Core.Features.Plugins.Events;
|
||||||
using TweetLib.Core.Systems.Updates;
|
using TweetLib.Core.Systems.Updates;
|
||||||
|
#if DEBUG
|
||||||
|
using TweetDuck.Resources;
|
||||||
|
#endif
|
||||||
|
|
||||||
namespace TweetDuck.Browser {
|
namespace TweetDuck.Browser {
|
||||||
sealed partial class FormBrowser : Form {
|
sealed partial class FormBrowser : Form {
|
||||||
|
@@ -45,7 +45,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
loadModules().then(([ successes, total ]) => {
|
loadModules().then(([ successes, total ]) => {
|
||||||
if ("$TD" in window && "notifyModulesLoaded" in window.$TD) {
|
if ("$TD" in window && "onModulesLoaded" in window.$TD) {
|
||||||
notifyModulesLoaded(window.$TD);
|
notifyModulesLoaded(window.$TD);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -1,4 +1,5 @@
|
|||||||
import { $TDX } from "../api/bridge.js";
|
import { $TDX } from "../api/bridge.js";
|
||||||
|
import { isAppReady } from "../api/ready.js";
|
||||||
import { replaceFunction } from "./globals/patch_functions.js";
|
import { replaceFunction } from "./globals/patch_functions.js";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -35,7 +36,7 @@ export default function() {
|
|||||||
};
|
};
|
||||||
|
|
||||||
replaceFunction(HTMLAudioElement.prototype, "play", function(func, args) {
|
replaceFunction(HTMLAudioElement.prototype, "play", function(func, args) {
|
||||||
if (!$TDX.muteNotifications) {
|
if (!$TDX.muteNotifications && isAppReady()) {
|
||||||
func.apply(this, args);
|
func.apply(this, args);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
@@ -61,7 +61,6 @@ function displayNotification(version, changelog) {
|
|||||||
const exitNow = function() {
|
const exitNow = function() {
|
||||||
ele.remove();
|
ele.remove();
|
||||||
log.remove();
|
log.remove();
|
||||||
css.remove();
|
|
||||||
};
|
};
|
||||||
|
|
||||||
const exitSlide = function() {
|
const exitSlide = function() {
|
||||||
|
@@ -6,6 +6,6 @@ using TweetDuck;
|
|||||||
|
|
||||||
namespace TweetDuck {
|
namespace TweetDuck {
|
||||||
internal static class Version {
|
internal static class Version {
|
||||||
public const string Tag = "1.21";
|
public const string Tag = "1.21.0.1";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user