From 94da2f4658943d698f49309b5b878fb0feb947de Mon Sep 17 00:00:00 2001 From: Hunter Miller Date: Thu, 23 Dec 2021 17:14:37 -0600 Subject: [PATCH 1/2] pier-service: better prod detection on windows --- src/background/services/pier-service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/background/services/pier-service.ts b/src/background/services/pier-service.ts index a1ae7ba..36e023d 100644 --- a/src/background/services/pier-service.ts +++ b/src/background/services/pier-service.ts @@ -16,7 +16,7 @@ import mv from 'mv' import { each } from 'async'; import find from 'find-process'; -const IS_PROD = process.env.NODE_ENV === 'production'; +const IS_PROD = !isDev; const platform = getPlatform(); const asyncRm = promisify(unlink); From 10eaca03a42e5f90122d7a4655f38da0fbd92581 Mon Sep 17 00:00:00 2001 From: Hunter Miller Date: Thu, 23 Dec 2021 19:30:53 -0600 Subject: [PATCH 2/2] meta: version bump, scrubbing personal out --- README.md | 2 +- forge.config.js | 2 +- package.json | 8 ++++---- src/main/index.ts | 2 +- src/main/menu.ts | 4 ++-- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 53c593a..7c3f89e 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ Formerly called Taisho, Port allows you to spin up, access, and manage your ship ## Installing -Head over to [releases](https://github.com/arthyn/port/releases) and download the installer for your operating system from the latest release. Currently available for all major OSes. +Head over to [releases](https://github.com/urbit/port/releases) and download the installer for your operating system from the latest release. Currently available for all major OSes. ## Screenshots ![](https://hmillerdev.nyc3.digitaloceanspaces.com/nocsyx-lassul/taisho-welcome.jpg) diff --git a/forge.config.js b/forge.config.js index e104280..116e0dd 100644 --- a/forge.config.js +++ b/forge.config.js @@ -98,7 +98,7 @@ module.exports = { name: '@electron-forge/publisher-github', config: { repository: { - owner: 'arthyn', + owner: 'urbit', name: 'port' }, draft: true diff --git a/package.json b/package.json index c926436..68e2298 100644 --- a/package.json +++ b/package.json @@ -1,16 +1,16 @@ { "name": "port", "productName": "Port", - "version": "1.7.0", + "version": "1.7.1", "description": "A ship runner and manager for Urbit OS", "repository": { "type": "git", - "url": "https://github.com/arthyn/port.git" + "url": "https://github.com/urbit/port.git" }, "keywords": [], "author": { - "name": "Hunter Miller", - "email": "hunter@hmiller.dev" + "name": "Urbit Foundation", + "email": "dev@urbit.org" }, "license": "MIT", "main": ".webpack/main", diff --git a/src/main/index.ts b/src/main/index.ts index 809d5f9..7afad51 100644 --- a/src/main/index.ts +++ b/src/main/index.ts @@ -15,7 +15,7 @@ let mainWindow: BrowserWindow; if (!isDev) { const server = 'https://update.electronjs.org' - const feed = `${server}/arthyn/port/${process.platform}-${process.arch}/${app.getVersion()}` + const feed = `${server}/urbit/port/${process.platform}-${process.arch}/${app.getVersion()}` autoUpdater.setFeedURL({ url: feed diff --git a/src/main/menu.ts b/src/main/menu.ts index c023362..2fe919b 100644 --- a/src/main/menu.ts +++ b/src/main/menu.ts @@ -247,13 +247,13 @@ export function createMenu({ { label: `Port v${pjson.version}`, click: () => { - shell.openExternal('https://github.com/arthyn/port'); + shell.openExternal('https://github.com/urbit/port'); }, }, { label: 'Report an Issue', click: () => { - shell.openExternal('https://github.com/arthyn/port/issues'); + shell.openExternal('https://github.com/urbit/port/issues'); }, }, ],