Remove Aptabase Tracking
This commit is contained in:
@@ -326,35 +326,6 @@ const commonPreferencesSubmenu = [
|
||||
},
|
||||
checked: getValue("discordrpcstatus") === "true",
|
||||
},
|
||||
{
|
||||
label: "Enable Aptabase Tracking",
|
||||
type: "checkbox",
|
||||
click: () => {
|
||||
if (getValue("aptabaseTracking") === true) {
|
||||
setValue("aptabaseTracking", false);
|
||||
dialog.showMessageBoxSync({
|
||||
type: "info",
|
||||
title: "Aptabase Tracking",
|
||||
message: "Aptabase Tracking has been disabled.",
|
||||
buttons: ["OK"],
|
||||
});
|
||||
return;
|
||||
} else if (
|
||||
getValue("aptabaseTracking") === false ||
|
||||
getValue("aptabaseTracking") === undefined
|
||||
) {
|
||||
setValue("aptabaseTracking", true);
|
||||
dialog.showMessageBoxSync({
|
||||
type: "info",
|
||||
title: "Aptabase Tracking",
|
||||
message: "Aptabase Tracking has been enabled.",
|
||||
buttons: ["OK"],
|
||||
});
|
||||
return;
|
||||
}
|
||||
},
|
||||
checked: getValue("aptabaseTracking") === true,
|
||||
},
|
||||
{
|
||||
label: "Enable Auto Updates",
|
||||
type: "checkbox",
|
||||
|
||||
@@ -32,7 +32,6 @@ getValueOrDefault("custompage", "home");
|
||||
getValueOrDefault("windowWidth", 0.71);
|
||||
getValueOrDefault("windowHeight", 0.74);
|
||||
getValueOrDefault("customWindowSize", false);
|
||||
getValueOrDefault("aptabaseTracking", null);
|
||||
getValueOrDefault("externalLinks", "true");
|
||||
|
||||
if (getValue("enterprise-or-normal") === "https://microsoft365.com/?auth=1") {
|
||||
|
||||
Reference in New Issue
Block a user