diff options
| author | Albin <albin@mullvad.net> | 2024-04-03 10:47:22 +0200 |
|---|---|---|
| committer | Albin <albin@mullvad.net> | 2024-04-05 13:44:47 +0200 |
| commit | 361a48e552331383ec15d8ba965f4f5a76cc481a (patch) | |
| tree | 90558df7f306ca080018afde28a72857e6eda392 | |
| parent | 8245f66ebd3ecea27624984e2cf2cbc321c2e31a (diff) | |
| download | mullvadvpn-361a48e552331383ec15d8ba965f4f5a76cc481a.tar.xz mullvadvpn-361a48e552331383ec15d8ba965f4f5a76cc481a.zip | |
Adjust map file extension used in desktop apps
| -rw-r--r-- | gui/src/main/index.ts | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/gui/src/main/index.ts b/gui/src/main/index.ts index a844655388..4cdb9f5727 100644 --- a/gui/src/main/index.ts +++ b/gui/src/main/index.ts @@ -767,15 +767,13 @@ class ApplicationMain })); IpcMainEventChannel.map.handleGetData(async () => ({ - landContourIndices: await fs.promises.readFile( - path.join(GEO_DIR, 'land_contour_indices.bin'), - ), - landPositions: await fs.promises.readFile(path.join(GEO_DIR, 'land_positions.bin')), + landContourIndices: await fs.promises.readFile(path.join(GEO_DIR, 'land_contour_indices.gl')), + landPositions: await fs.promises.readFile(path.join(GEO_DIR, 'land_positions.gl')), landTriangleIndices: await fs.promises.readFile( - path.join(GEO_DIR, 'land_triangle_indices.bin'), + path.join(GEO_DIR, 'land_triangle_indices.gl'), ), - oceanIndices: await fs.promises.readFile(path.join(GEO_DIR, 'ocean_indices.bin')), - oceanPositions: await fs.promises.readFile(path.join(GEO_DIR, 'ocean_positions.bin')), + oceanIndices: await fs.promises.readFile(path.join(GEO_DIR, 'ocean_indices.gl')), + oceanPositions: await fs.promises.readFile(path.join(GEO_DIR, 'ocean_positions.gl')), })); IpcMainEventChannel.tunnel.handleConnect(this.connectTunnel); |
