piclist 2.3.4 → 2.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/bin/picgo-server CHANGED
@@ -63,6 +63,11 @@ if (argv.host) {
63
63
  defaultHost = String(argv.host)
64
64
  }
65
65
 
66
+ if (argv.v || argv.version) {
67
+ console.log(`picgo-server version: 1.0.0`)
68
+ process.exit(0)
69
+ }
70
+
66
71
  let configPath = argv.c || argv.config || ''
67
72
  if (configPath !== true && configPath !== '') {
68
73
  configPath = configPath.replace(/^~/, os.homedir())
@@ -9,7 +9,6 @@ export declare const ZH_CN: {
9
9
  PICBED_SMMS_TOKEN: string;
10
10
  PICBED_SMMS_MESSAGE_TOKEN: string;
11
11
  PICBED_SMMS_BACKUPDOMAIN: string;
12
- PICBED_SMMS_MESSAGE_BACKUP_DOMAIN: string;
13
12
  PICBED_ADVANCEDPLIST: string;
14
13
  PICBED_ADVANCEDPLIST_ENDPOINT: string;
15
14
  PICBED_ADVANCEDPLIST_MESSAGE_ENDPOINT: string;
@@ -269,6 +268,8 @@ export declare const ZH_CN: {
269
268
  BUILDIN_COMPRESS_MESSAGE_RESIZEHEIGHT: string;
270
269
  BUILDIN_COMPRESS_ISRESIZEBYPERCENT: string;
271
270
  BUILDIN_COMPRESS_MESSAGE_ISRESIZEBYPERCENT: string;
271
+ BUILDIN_COMPRESS_LONGEDGEASHEIGHT: string;
272
+ BUILDIN_COMPRESS_MESSAGE_LONGEDGEASHEIGHT: string;
272
273
  BUILDIN_COMPRESS_ISFLIP: string;
273
274
  BUILDIN_COMPRESS_ISFLOP: string;
274
275
  BUILDIN_COMPRESS_RESIZEPERCENT: string;