diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml
index aad509c3a..07aed42a5 100644
--- a/.github/workflows/deploy.yml
+++ b/.github/workflows/deploy.yml
@@ -28,7 +28,9 @@ jobs:
ssh-keyscan -H ${{ secrets.SSH_HOST }} >> ~/.ssh/known_hosts
- name: Deploy build on server
if: github.event_name == 'push' && github.ref_name == github.event.repository.default_branch
- run: rsync -vrm dist/* ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }}:${{ secrets.DESTINATION_DIR }}
+ run: |
+ rsync --del --no-times --checksum -vrm dist/* ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }}:${{ secrets.DESTINATION_DIR }}
+ ssh -t ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }} "~/prmanifest --inpath ${{ secrets.DESTINATION_DIR }} --outpath ${{ secrets.DESTINATION_DIR }}/manifest.json"
- name: Purge Cloudflare Cache
if: github.event_name == 'push' && github.ref_name == github.event.repository.default_branch
id: purge-cache
@@ -36,3 +38,9 @@ jobs:
with:
cf_auth: ${{ secrets.CLOUDFLARE_API_TOKEN }}
cf_zone: ${{ secrets.CLOUDFLARE_ZONE_ID }}
+ files: |
+ https://pokerogue.net/
+ https://pokerogue.net/index.html
+ https://pokerogue.net/manifest.json
+ https://pokerogue.net/manifest.webmanifest
+ https://pokerogue.net/service-worker.js
\ No newline at end of file
diff --git a/.gitignore b/.gitignore
index 4cf3196a7..55f9203a8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -33,5 +33,6 @@ public/images/pokemon/icons/input/output/*
public/images/character/*/
src/data/battle-anim-raw-data*.ts
src/data/battle-anim-data.ts
+src/overrides.ts
coverage
\ No newline at end of file
diff --git a/README.md b/README.md
index 424d47ff1..d08107867 100644
--- a/README.md
+++ b/README.md
@@ -7,8 +7,11 @@ PokéRogue is a browser based Pokémon fangame heavily inspired by the roguelite
If you have the motivation and experience with Typescript/Javascript (or are willing to learn) please feel free to fork the repository and make pull requests with contributions. If you don't know what to work on but want to help, reference the below **To-Do** section or the **#vote** channel in the discord.
### 💻 Environment Setup
-node: 18.3.0
+#### Prerequisites
+- node: 18.3.0
+- npm: [how to install](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm)
+#### Running Locally
1. Clone the repo and in the root directory run `npm install`
- *if you run into any errors, reach out in the **#dev-corner** channel in discord*
2. Run `npm run start:dev` to locally run the project in `localhost:8000`
@@ -16,7 +19,7 @@ node: 18.3.0
### ❔ FAQ
**How do I test a new _______?**
-- In the `battle-scene.ts` file there are overrides for most values you'll need to change for testing
+- In the `src/overrides.ts` file there are overrides for most values you'll need to change for testing
## 🪧 To Do
diff --git a/index.css b/index.css
index 9a507ad67..dd47387ad 100644
--- a/index.css
+++ b/index.css
@@ -150,6 +150,10 @@ body {
display: none;
}
+#touchControls:not([data-ui-mode='COMMAND']):not([data-ui-mode='FIGHT']):not([data-ui-mode='BALL']):not([data-ui-mode='TARGET_SELECT']) #apad #apadStats {
+ display: none;
+}
+
#apad .apadRectBtnContainer + .apadSqBtnContainer {
top: calc(var(--controls-size) * -1.9);
left: calc(var(--controls-size) * -0.9);
diff --git a/index.html b/index.html
index c05c1c0be..177a92efc 100644
--- a/index.html
+++ b/index.html
@@ -9,27 +9,27 @@
-
-
+
+
-
-
+
+
-
-
+
+
+