This document describes the process for running this application on your local computer.
-
Clone the repo
git clone https://github.com/quaric/zadark.git cd zadark
-
Install packages
yarn install
-
Start development
yarn dev # or build yarn build # ➜ Output: # build/ # chrome/ # manifest.json # ... # edge/ # manifest.json # ... # firefox/ # manifest.json # ... # pc/ # package.json # index.js # ...
-
Testing
- macOS & Windows
yarn run pc:dev
- Chrome Extension
- Step 1: Open
chrome:https://extensions/
- Step 2: Turn on
Developer Mode
- Step 3: Click
Load unpacked
- Step 4: Choose folder
build/chrome/
- Step 1: Open
- Safari Extension
- Step 1: Open
src/web/vendor/safari/ZaDark.xcodeproj
in Xcode - Step 2: Choose
Product > Run
- Step 3: Open
Safari > Preferences > Extensions
> Turn onZaDark for Safari
- Step 1: Open
- Edge Extension
- Step 1: Open
edge:https://extensions/
- Step 2: Turn on
Developer Mode
- Step 3: Click
Load unpacked
- Step 4: Choose folder
build/edge/
- Step 1: Open
- Firefox Extension
- Step 1: Open
about:debugging#/runtime/this-firefox
- Step 2: Click
Load Temporary Add-on...
- Step 3: Choose file
build/firefox/manifest.json
- Step 1: Open
- Run
yarn build
- Run
yarn safari
or opensrc/web/vendor/safari/ZaDark.xcodeproj
in Xcode - Choose
Product > Archive
Documentation: https://developer.apple.com/documentation/xcode/distributing-your-app-for-beta-testing-and-releases
yarn dist
# ➜ Output:
# dist/
# chrome/
# ZaDark Chrome [VERSION].zip
#
# edge/
# ZaDark Edge [VERSION].zip
#
# firefox/
# ZaDark Firefox [VERSION].zip
#
# windows/
# ZaDark [VERSION].zip
#
# macos/
# ZaDark [VERSION] - Intel Chip.zip
# ZaDark [VERSION] - Apple Chip.zip
- For Chrome, Edge and Firefox: Distribute
dist/[PLATFORM]/ZaDark [PLATFORM] [VERSION].zip
to Store - For Windows: Distribute
dist/windows/ZaDark [VERSION].zip
directly to users - For macOS: Distribute
dist/macos/ZaDark [VERSION] [TARGET].zip
directly to users