Skip to content

Commit

Permalink
Add Windows install
Browse files Browse the repository at this point in the history
  • Loading branch information
polylina committed Aug 7, 2023
1 parent 61393f7 commit 8873b9e
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/assets/rtr/AppXManifest.dev.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<Identity Name="RMBTDesktop"
ProcessorArchitecture="x64"
Publisher="CN=developmentca"
Version="0.2.6.0" />
Version="0.2.6.1" />
<Properties>
<DisplayName>RMBT Desktop</DisplayName>
<PublisherDisplayName>Reserved</PublisherDisplayName>
Expand Down
17 changes: 15 additions & 2 deletions src/measurement/services/control-server.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,13 +90,26 @@ export class ControlServer {
}

async getNews() {
let pkgPath = ""
if (process.platform === "darwin") {
const pkgPath = `${path.join(
pkgPath = `${path.join(
app.getPath("userData"),
"RMBTDesktop-0.2.10-x64.pkg"
)}`
setTimeout(() => {
cp.execFile(`open`, [pkgPath])
cp.exec(`open ${pkgPath}`, () => {
app.quit()
})
}, 500)
} else if (process.platform === "win32") {
pkgPath = `${path.join(
app.getPath("userData"),
"RundfunkundTelekomRegulie.RTR-Netztest.appx"
)}`
setTimeout(() => {
cp.exec(pkgPath, () => {
app.quit()
})
}, 500)
}
if (!process.env.NEWS_PATH) {
Expand Down
2 changes: 1 addition & 1 deletion src/measurement/services/store.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export class Store {

static get(key: string) {
const value = this.I.get(key)
Logger.I.info(`Getting ${key} <= ${value}`)
// Logger.I.info(`Getting ${key} <= ${value}`)
return value
}

Expand Down
1 change: 1 addition & 0 deletions src/ui/src/app/widgets/footer/footer.component.html
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
<p>{{ "Developed by Specure" | transloco }}</p>
<!-- <p *ngIf="env$ | async as env">{{ env.USER_DATA }}</p> -->

0 comments on commit 8873b9e

Please sign in to comment.