Installer
v1.3.0
개요 | 개발 | 기고자
BetterDiscord의 설치, 제거 및 유지 보수를 자동화하는 간단한 독립형 프로그램.
이 저장소에는 BetterDiscord 설치 프로그램의 소스 코드가 포함되어 있습니다. 이 설치 프로그램은 Electron-Webpack 및 Svelte 3으로 작성되었습니다.
이들은이 저장소의 릴리스 탭에있는 최신 빌드에 연결됩니다.
| Windows (7+) | 마코 (10.10+) | 리눅스 |
|---|
.
├──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이 프로젝트에 대한 기여에 대한 자세한 내용은 Contributing.md를 참조하십시오.