Skip to content

Commit 760d1c2

Browse files
committed
fix electron-is-dev and trigger build
1 parent 8b1b281 commit 760d1c2

4 files changed

Lines changed: 16 additions & 18 deletions

File tree

package-lock.json

Lines changed: 3 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
"@railmapgen/rmg-templates-resources": "^0.1.12",
1616
"ag-grid-community": "^27.3.0",
1717
"ag-grid-react": "^27.3.0",
18+
"electron-is-dev": "^2.0.0",
1819
"framer-motion": "^6.3.3",
1920
"i18next": "^21.8.4",
2021
"i18next-browser-languagedetector": "^6.1.4",
@@ -42,7 +43,6 @@
4243
"cross-env": "^7.0.3",
4344
"electron": "^17.2.0",
4445
"electron-builder": "^22.14.13",
45-
"electron-is-dev": "^2.0.0",
4646
"eslint-plugin-prettier": "^4.0.0",
4747
"identity-obj-proxy": "^3.0.0",
4848
"jest": "^27.5.1",
@@ -76,7 +76,7 @@
7676
"last 1 safari version"
7777
]
7878
},
79-
"version": "5.2.8",
79+
"version": "5.2.9",
8080
"main": "public/electron.js",
8181
"build": {
8282
"publish": [

public/index.html

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,19 @@
99
<base href="./" />
1010
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
1111
<!--
12-
manifest.json provides metadata used when your web app is installed on a
13-
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
14-
-->
12+
manifest.json provides metadata used when your web app is installed on a
13+
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
14+
-->
1515
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
1616
<!--
17-
Notice the use of %PUBLIC_URL% in the tags above.
18-
It will be replaced with the URL of the `public` folder during the build.
19-
Only files inside the `public` folder can be referenced from the HTML.
17+
Notice the use of %PUBLIC_URL% in the tags above.
18+
It will be replaced with the URL of the `public` folder during the build.
19+
Only files inside the `public` folder can be referenced from the HTML.
2020
21-
Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
22-
work correctly both with client-side routing and a non-root public URL.
23-
Learn how to configure a non-root public URL by running `npm run build`.
24-
-->
21+
Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
22+
work correctly both with client-side routing and a non-root public URL.
23+
Learn how to configure a non-root public URL by running `npm run build`.
24+
-->
2525
<title>Rail Map Generator</title>
2626

2727
<!-- Start Single Page Apps for GitHub Pages -->

src/svgs/railmap/methods/mtr.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { Stations } from './share';
2-
import { RmgStyle, StationDict, StationInfo } from '../../../constants/constants';
2+
import { StationDict, StationInfo } from '../../../constants/constants';
33
import { getSidingPath } from '../../mtr/line-diagram-utils';
44

55
export const leftWideFactor = (stnList: StationDict, stnId: string) => {

0 commit comments

Comments
 (0)