Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…-map into Nodes-Update
  • Loading branch information
Borys21 committed Dec 22, 2023
2 parents 4b694b1 + 755a118 commit ee8085f
Show file tree
Hide file tree
Showing 366 changed files with 1,017 additions and 445 deletions.
1 change: 0 additions & 1 deletion .env
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
VITE_PLAUSIBLE_WEB_DOMAIN=sotf.th.gl
VITE_PLAUSIBLE_OVERWOLF_DOMAIN=sotf.th.gl-app
VITE_PLAUSIBLE_API_HOST=https://apps.machens.dev
VITE_PATREON_BASE_URI=https://www.th.gl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build Overwolf App CI
name: Build Overwolf Preview App CI

on:
push:
Expand All @@ -20,12 +20,10 @@ jobs:
cache: "pnpm"
- run: pnpm install
- name: Build Overwolf app
env:
OW_CLI_EMAIL: ${{ secrets.OW_CLI_EMAIL }}
OW_CLI_API_KEY: ${{ secrets.OW_CLI_API_KEY }}
run: pnpm build
- name: Release Overwolf app
env:
OW_CLI_EMAIL: ${{ secrets.OW_CLI_EMAIL }}
OW_CLI_API_KEY: ${{ secrets.OW_CLI_API_KEY }}
PREVIEW_ACCESS_CHANNEL_ID: ${{ secrets.PREVIEW_ACCESS_CHANNEL_ID }}
run: pnpm release
25 changes: 25 additions & 0 deletions .github/workflows/overwolf-production.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Build Overwolf Production App CI

on:
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
with:
version: 7
- uses: actions/setup-node@v3
with:
node-version: 18
cache: "pnpm"
- run: pnpm install
- name: Build Overwolf app
run: pnpm build
- name: Release Overwolf app
env:
OW_CLI_EMAIL: ${{ secrets.OW_CLI_EMAIL }}
OW_CLI_API_KEY: ${{ secrets.OW_CLI_API_KEY }}
run: pnpm release
7 changes: 6 additions & 1 deletion app.html
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,12 @@
</symbol>
</svg>
<header class="app-header">
<h1 class="version">Sons Of The Forest Map</h1>
<h1 class="title">Sons Of The Forest Map</h1>
<a
href="https://www.th.gl/apps/Sons%20Of%20The%20Forest%20Map/release-notes"
target="_blank"
class="version"
></a>
<div class="window-controls-group">
<a
href="https://discord.com/invite/NTZu8Px"
Expand Down
14 changes: 0 additions & 14 deletions copy-statics.mjs

This file was deleted.

9 changes: 8 additions & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"meta": {
"name": "Sons Of The Forest Map-DEV",
"author": "Leon Machens",
"version": "0.34.1",
"version": "0.37.6",
"minimum-overwolf-version": "0.218.0",
"description": "Sons Of The Forest Map",
"dock_button_title": "Sons Of The Forest",
Expand All @@ -16,6 +16,7 @@
"Hotkeys",
"GameInfo",
"FileSystem",
"Extensions",
"DesktopStreaming",
"Clipboard"
],
Expand Down Expand Up @@ -125,6 +126,12 @@
"enable_auto_refresh": true,
"reload_delay": 1000,
"filter": "*.*"
},
"extra-objects": {
"discord": {
"file": "plugins/DiscordRPCPlugin.dll",
"class": "overwolf.plugins.DiscordRPCPlugin"
}
}
}
}
40 changes: 22 additions & 18 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,34 +6,38 @@
"scripts": {
"dev:overwolf": "vite -c vite-overwolf.config.ts",
"dev:web": "vite -c vite-web.config.ts",
"build": "tsc && vite build -c vite-overwolf.config.ts && node copy-statics.mjs && ow opk pack dist -o sotf.opk && ow opk sign sotf.opk",
"web": "tsc && vite build -c vite-web.config.ts && node prerender.mjs",
"build": "tsc && vite build -c vite-overwolf.config.ts && node scripts/copy-statics.mjs",
"web": "tsc && vite build -c vite-web.config.ts && node scripts/prerender.mjs",
"preview": "vite preview -c vite-web.config.ts",
"release": "ow opk upload sotf.signed.opk",
"release": "node scripts/release-overwolf.mjs",
"i18n": "node scripts/i18n.mjs"
},
"devDependencies": {
"@overwolf/ow-cli": "0.0.5-0",
"@overwolf/types": "3.23.1",
"@translate-tools/core": "0.2.14",
"@types/js-cookie": "3.0.5",
"@types/leaflet": "1.9.3",
"@types/qrcode": "1.5.0",
"@types/throttle-debounce": "5.0.0",
"@overwolf/ow-cli": "0.0.5-1",
"@overwolf/types": "3.24.3",
"@translate-tools/core": "1.0.0",
"@types/async": "3.2.24",
"@types/js-cookie": "3.0.6",
"@types/leaflet": "1.9.8",
"@types/qrcode": "1.5.5",
"@types/throttle-debounce": "5.0.2",
"html-to-text": "9.0.5",
"puppeteer": "19.9.0",
"typescript": "5.0.4",
"vite": "4.3.5",
"vite-plugin-pwa": "0.14.7"
"typescript": "5.3.3",
"vite": "5.0.10",
"vite-plugin-pwa": "0.17.4"
},
"dependencies": {
"@geoman-io/leaflet-geoman-free": "2.14.2",
"@geoman-io/leaflet-geoman-free": "2.15.0",
"async": "3.2.5",
"dotenv": "16.3.1",
"js-cookie": "3.0.5",
"leaflet": "1.9.3",
"peerjs": "1.4.7",
"leaflet": "1.9.4",
"peerjs": "1.5.2",
"plausible-tracker": "0.3.8",
"qrcode": "1.5.3",
"reflect-metadata": "0.2.1",
"throttle-debounce": "5.0.0",
"zustand": "4.4.4"
"zustand": "4.4.7"
}
}
}
Binary file added plugins/DiscordRPC.dll
Binary file not shown.
Binary file added plugins/DiscordRPCPlugin.dll
Binary file not shown.
Binary file added plugins/Newtonsoft.Json.dll
Binary file not shown.
Loading

0 comments on commit ee8085f

Please sign in to comment.