Skip to content

Commit

Permalink
chore: fix enviroment name error
Browse files Browse the repository at this point in the history
  • Loading branch information
scarqin committed Mar 13, 2023
1 parent 02ee512 commit d68904a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions scripts/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import minimist from 'minimist';
import YAML from 'yaml';

import pkgInfo from '../package.json';
import { ELETRON_APP_CONFIG } from '../src/environment';
import { COMMON_APP_CONFIG } from '../src/environment';

import { execSync, exec, spawn } from 'node:child_process';
import { createHash } from 'node:crypto';
Expand Down Expand Up @@ -75,7 +75,7 @@ const config: Configuration = {
'github',
{
provider: 'generic',
url: ELETRON_APP_CONFIG.BASE_DOWNLOAD_URL
url: COMMON_APP_CONFIG.BASE_DOWNLOAD_URL
}
],
generateUpdatesFilesForAllChannels: true,
Expand Down
5 changes: 4 additions & 1 deletion src/workbench/browser/angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@
"projects": {
"postcat": {
"root": "",
"i18n": { "sourceLocale": { "code": "en" }, "locales": { "zh": { "translation": "locale/messages.zh.xlf" } } },
"i18n": {
"sourceLocale": { "code": "en", "baseHref": "" },
"locales": { "zh": { "translation": "locale/messages.zh.xlf", "baseHref": "" } }
},
"sourceRoot": "src",
"projectType": "application",
"schematics": { "@schematics/angular:application": { "strict": true } },
Expand Down

0 comments on commit d68904a

Please sign in to comment.