Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/workflows/build-tauri.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ jobs:
git clone -b gh-pages --depth 1 https://github.com/railmapgen/rmp.git
git clone -b gh-pages --depth 1 https://github.com/railmapgen/rmp-gallery.git
git clone -b gh-pages --depth 1 https://github.com/railmapgen/rmp-designer.git
git clone -b gh-pages --depth 1 https://github.com/railmapgen/rma.git
- name: Setup python
uses: actions/setup-python@v4
with:
Expand Down Expand Up @@ -80,6 +81,7 @@ jobs:
f=open('ui/rmp/info.json', 'r+');info=json.load(f);info['instance']='Tauri';f.seek(0);json.dump(info,f,indent=2);f.truncate();f.close();
f=open('ui/rmp-gallery/info.json', 'r+');info=json.load(f);info['instance']='Tauri';f.seek(0);json.dump(info,f,indent=2);f.truncate();f.close();
f=open('ui/rmp-designer/info.json', 'r+');info=json.load(f);info['instance']='Tauri';f.seek(0);json.dump(info,f,indent=2);f.truncate();f.close();"
f=open('ui/rma/info.json', 'r+');info=json.load(f);info['instance']='Tauri';f.seek(0);json.dump(info,f,indent=2);f.truncate();f.close();
- name: Get versions of each project
run: |
python3 -c "import urllib.request;import json;import os;
Expand All @@ -90,6 +92,7 @@ jobs:
rmp=json.loads(urllib.request.urlopen('https://railmapgen.github.io/rmp/info.json').read())['version'];
rmp_gallery=json.loads(urllib.request.urlopen('https://railmapgen.github.io/rmp-gallery/info.json').read())['version'];
rmp_designer=json.loads(urllib.request.urlopen('https://railmapgen.github.io/rmp-designer/info.json').read())['version'];
rma=json.loads(urllib.request.urlopen('https://railmapgen.github.io/rma/info.json').read())['version'];
f=open(os.getenv('GITHUB_ENV'), 'a');
f.write(f'railmapgen={railmapgen}\n');
f.write(f'rmg={rmg}\n');
Expand All @@ -98,6 +101,7 @@ jobs:
f.write(f'rmp={rmp}\n');
f.write(f'rmp_gallery={rmp_gallery}\n');
f.write(f'rmp_designer={rmp_designer}\n');
f.write(f'rma={rma}\n');
f.close()"
- uses: tauri-apps/tauri-action@v0
env:
Expand All @@ -118,6 +122,7 @@ jobs:
|rmp |`${{ env.rmp }}` |
|rmp-gallery |`${{ env.rmp_gallery }}` |
|rmp-designer |`${{ env.rmp_designer }}` |
|rma |`${{ env.rma }}` |

Rail Map Toolkit is able to run offline with these packages, but we do RECOMMEND using the [Official Website](https://railmapgen.org/) as it provides the latest features of Rail Map Toolkit. The packages below are only suitable for extreme situations where users are behind the notorious firewall or simply offline. All resources are cached and bundled.
releaseDraft: false
Expand Down
5 changes: 5 additions & 0 deletions src/util/asset-enablements.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,11 @@ export const assetEnablement: Record<string, AssetDetail> = {
url: '/rmp/',
assetType: 'app',
},
rma: {
name: 'Rail Map Announcer',
url: '/rma/',
assetType: 'app',
},
'rmg-palette': {
name: 'Palette',
url: '/rmg-palette/',
Expand Down