refactor: migracja wywołań API przeglądarki do abstrakcji browserAPI #127

Open
am0 wants to merge 4 commits from refactor/build_time_abstraction into develop
Showing only changes of commit a4fcc661c4 - Show all commits

View File

@ -40,7 +40,7 @@ Firefox: https://addons.mozilla.org/en-US/firefox/addon/rentgen/
2. Go to the root directory of the pulled repository
3. Run command: `npm install`
4. Run command: `npm run build:chrome`
5. You will find dist-chrome folder
5. In the root directory you will find `dist-chrome` folder
### Run steps
@ -51,9 +51,9 @@ Firefox: https://addons.mozilla.org/en-US/firefox/addon/rentgen/
4. Pick the zip archive from last step of build process.
## Chrome
1. Run Firefox and go to `chrome://extensions/`
3. Click _Load Unpacked_ button
4. Pick the folder from last step of build process.
1. Run Chrome and go to `chrome://extensions/`
2. Click _Load Unpacked_ button
3. Pick the folder from last step of build process.
## Issue tracker
@ -101,6 +101,7 @@ Firefox: https://addons.mozilla.org/pl/firefox/addon/rentgen/
### Proces budowy
## Firefox
1. Pobierz repozytorium przez `git pull https://git.internet-czas-dzialac.pl/icd/rentgen.git` lub pobierz archwium zip
2. Przejdź do głównego katalogu pobranego repozytorium
3. Uruchom komendę: `npm install`
@ -109,13 +110,26 @@ Firefox: https://addons.mozilla.org/pl/firefox/addon/rentgen/
6. Przejdź do katalogu `web-ext-artifacts`
7. Znajdziesz tam archiwum zip: `rentgen-x-x-x.zip` (`x-x-x` oznaczają wersję wtyczki)
## Chrome
1. Pobierz repozytorium przez `git pull https://git.internet-czas-dzialac.pl/icd/rentgen.git` lub pobierz archwium zip
2. Przejdź do głównego katalogu pobranego repozytorium
3. Uruchom komendę: `npm install`
4. Uruchom komendę: `npm run build:chrome`
5. W katalogu głównym znajdziesz folder `dist-chrome`
### Kroki do uruchomienia
## Firefox
1. Uruchom Firefoxa i przejdź do strony `about:debugging`
2. Kliknij zakładkę _This Firefox_
3. Kliknij przycisk _Load Temporary Add-on..._
4. Wybierz archiwum, które zbudowałeś w ostatnim kroku procesu budowy
## Chrome
1. Uruchom Chrome i przejdź do strony `chrome://extensions/`
2. Kliknij przycisk _Load Unpacked_
3. Wybierz folder, które zbudowałeś w ostatnim kroku procesu budowy
## Zgłaszanie błędów
Jeżeli znajdziesz jakieś problem, napisz do nas maila: kontakt@internet-czas-dzialac.pl