This repository has been archived on 2024-05-27. You can view files and clone it, but cannot push or open issues or pull requests.
Nexus-Polestar/configuration.ts

104 lines
2.9 KiB
TypeScript
Raw Normal View History

///////////////////////
// Metadata //
///////////////////////
2023-09-12 04:19:25 -05:00
// Doc: INSERT_DOC_LINK_HERE
export const info = {
2023-08-30 16:16:20 -05:00
// Basics
name: 'App Name Here',
company: 'Company Name or Author',
synopsis: '',
description: '',
2023-08-30 16:16:20 -05:00
// Data
version: '1.0.0',
id: 'org.company-name.app-name-here', // extension.domain.appname
// Sources
website: "https://mywebsite.net/",
support: "https://mywebsite.net/help/",
source_code: "https://github.com/user/repo"
}
////////////////////////////////
// App Configuration //
////////////////////////////////
2023-09-12 04:19:25 -05:00
// Doc: INSERT_DOC_LINK_HERE
export const config = {
// Notifications
notificationType: "Native", // "Custom" "Native"
// Pushy Notifications
pushyAppId: "63e9212d7446e48a2a0e8ec0",
// Crash Reporter
crashReportServer: "https://nexuspolestar.bugsplat.com/post/electron/crash.php"
}
export const window = {
width: 1200,
height: 800,
minWidth: 400,
minHeight: 400,
}
2023-09-12 02:55:14 -05:00
//////////////////////
// Sidebar //
//////////////////////
2023-09-12 04:19:25 -05:00
// Doc: INSERT_DOC_LINK_HERE
// Use this if you want to use a custom order of tabs
export const tabs = {}
2023-09-12 02:55:14 -05:00
////////////////////
// Theme //
////////////////////
2023-09-12 04:19:25 -05:00
// Doc: INSERT_DOC_LINK_HERE
export const sidebar = {
2023-09-12 02:55:14 -05:00
tabPositions: "normal", // "normal" "centered"
size: "normal", // "normal" "compact"
2023-09-12 04:19:25 -05:00
// Sidebar Header
headerFontSize: "14px",
2023-09-12 02:55:14 -05:00
enableBells: false,
enableToggle: true,
2023-09-12 04:19:25 -05:00
// Tabs
customOrder: false,
tabFontSize: "16px",
tabVerticalPadding: "12px",
}
export const splash = {
loadingIndicator: "Spinner", // "Spinner" "ProgressBar" "JumpingBalls" "GlowingBars"
backgroundColor: "#232323",
}
///////////////////////////////
// Electron Builder //
///////////////////////////////
2023-09-12 04:19:25 -05:00
// Doc: INSERT_DOC_LINK_HERE
export const update = {
channel: "latest", // Branch: "latest" "beta" "alpha"
url: '' // Point to url where build files will be stored on your server.
}
export const macos = {
category: 'public.app-category.utilities' // https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/LaunchServicesKeys.html#//apple_ref/doc/uid/TP40009250-SW8
}
export const linux = {
category: 'Utilities', // https://specifications.freedesktop.org/menu-spec/menu-spec-1.0.html/category-registry
}
export const windows = {
// NSIS (.exe setup)
requireAdmin: false, // If you app needs to run admin tasks, which is shouldn't need to, set this to "true"
silent: false, // Ignore NSIS options below if "true"
allowToChangeInstallationDirectory: true, // Allow users to install your app anywhere
displayLanguageSelector: true,
createDesktopShortcut: false,
deleteAppDataOnUninstall: true,
// Microsoft Store
identityName: '00000Company.AppName',
publisher: 'CN=000A00A0-A00A-0A00-AAA0-0AAA00A000AA'
}