1.0.7 • Published 10 months ago

@uosjs/maker-uos v1.0.7

Weekly downloads
-
License
-
Repository
-
Last release
10 months ago

Electron forge 打包 Uos 系统安装包

使用流程

  1. npm install @uosjs/maker-uos
  2. forge.config.ts 配置如下
import { MakerUos, IMakerUosOptions } from '@uosjs/maker-uos'
import { MakerDeb } from '@electron-forge/maker-deb'
import { MakerDebConfigOptions } from '@electron-forge/maker-deb/dist/Config'
import path from 'path'

const uosOptions: IMakerUosOptions = {
  permissions: {
    // autostart: false,
    // notification: false,
    // trayicon: false,
    // clipboard: false,
    // account: false,
    // bluetooth: false,
    // camera: false,
    // audio_record: false,
    // installed_apps: false
  }
}

const debOptions: MakerDebConfigOptions = {
  icon: path.join(process.cwd(), './extraResource/logos/icon.png'),
  description: '我是 description',
  maintainer: 'Uos Tech <zhangzhonghui@uniontech.com>',
  depends: ['openssl'],
  priority: 'optional',
  section: 'utils',
  homepage: 'https://changxie.uniontech.com',
  categories: ['Network', 'Office']
}

const config: ForgeConfig = {
  ...
  makers: [new MakerUos({ debOptions, uosOptions }), 
         new MakerDeb({ options: debOptions })]
  ...
}

export default config
1.0.7

10 months ago

1.0.6

10 months ago

1.0.3

10 months ago

1.0.2

10 months ago

1.0.1

10 months ago

1.0.0

1 year ago

0.3.20

1 year ago

0.3.22

1 year ago

0.3.21

1 year ago

0.3.9

1 year ago

0.3.16

1 year ago

0.3.15

1 year ago

0.3.14

1 year ago

0.3.13

1 year ago

0.3.12

1 year ago

0.3.11

1 year ago

0.3.10

1 year ago

0.3.18

1 year ago

0.3.8

1 year ago

0.3.6

1 year ago

0.3.5

1 year ago

0.3.3

1 year ago

0.0.10

1 year ago

0.0.11

1 year ago

0.0.14

1 year ago

0.0.15

1 year ago

0.0.16

1 year ago

0.0.17

1 year ago

0.0.18

1 year ago

0.0.19

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago