Installer
v1.3.0
概要|開発|貢献者
BetterDiscordのインストール、削除、メンテナンスを自動化する簡単なスタンドアロンプログラム。
このリポジトリには、BetterDiscordインストーラーのソースコードが含まれています。このインストーラーは、Electron-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このプロジェクトへの貢献については、Converting.mdを参照してください。