Commit 44af9f83 authored by nanahira's avatar nanahira

start of test updater

parent 665e7220
......@@ -87,7 +87,7 @@ upload_to_minio:
tags:
- linux
script:
- aws s3 --endpoint=https://minio.mycard.moe:9000 sync dist/ s3://mycard/downloads
- aws s3 --endpoint=https://minio.mycard.moe:9000 sync dist/ s3://mycard/downloads-test
only:
- tags
- v3
......@@ -213,7 +213,8 @@ app.on('ready', async () => {
createTray();
}
if (process.env['NODE_ENV'] === 'production') {
let updateTempPath = '~/.cache/mycard-updater'
let updateTempPath = '~/.cache/' +
'mycard-updater'
if (process.platform === 'win32') {
updateTempPath = `${process.env.LOCALAPPDATA}\\mycard-updater`
} else if (process.platform === 'darwin') {
......
......@@ -87,7 +87,7 @@
"publish": [
{
"provider": "generic",
"url": "https://api.moecube.com/downloads"
"url": "https://api.moecube.com/downloads-test"
}
],
"extraResources": [
......@@ -107,7 +107,7 @@
"publish": [
{
"provider": "generic",
"url": "https://api.moecube.com/downloads"
"url": "https://api.moecube.com/downloads-test"
}
]
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment