Installer
v1.3.0
概述|发展|贡献者
一个简单的独立程序,可以自动使用BetterDiscord的安装,拆卸和维护。
该存储库包含BetterDiscord Installer的源代码。该安装程序用电子webpack和Svelte 3编写。
这些将链接到此存储库的“版本”选项卡中找到的最新构建。
| Windows(7+) | macOS(10.10+) | Linux |
|---|
.
├──assets // Contains static assets (such as images) used by the installer.
| └──images // Images (logos, backgrounds, etc...) used by the installer.
├──scripts // Scripts needed for development and contributing.
└──src // The installer's source code.
├──main // Electron "main" process. Creates and configures the BrowserWindow.
└──renderer // Electron "renderer" process. Contains most components and scripts.
├──actions // Scripts performed by the installer such as installing, repairing and uninstalling.
| └──utils // Common utilities used by installer actions (such as killing discord).
├──common // Common UI components such as buttons, checkboxes, radios, etc...
├──pages // Component files for each page in the installer's setup process.
├──stores // Svelte store used for storing global data.
| └──types // Used for defining custom svelte stores.
└──transitions // Contains custom Svelte transitions and animations.
这是一个教程,专门为希望为安装程序的源代码做出贡献或直接工作的人们而设计。如果您只是想下载并安装BetterDiscord,请访问此存储库的版本页面。
git clone https: //github.com /BetterDiscord/installer && cd installer这将创建此存储库的本地副本,并将您导航到存储库的根文件夹。
在根文件夹上运行此命令以安装依赖项:
yarn install要在开发模式下运行安装程序,只需运行以下命令:
yarn dev 该项目使用ESLINT。运行此命令以提交您的更改:
yarn lint yarn dist有关为该项目做出贡献的信息,请参见parduting.md。