1.0.0 • Published 3 months ago

@uosjs/maker-uos v1.0.0

Weekly downloads
-
License
-
Repository
-
Last release
3 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.0

3 months ago

0.3.20

3 months ago

0.3.22

3 months ago

0.3.21

3 months ago

0.3.9

3 months ago

0.3.16

3 months ago

0.3.15

3 months ago

0.3.14

3 months ago

0.3.13

3 months ago

0.3.12

3 months ago

0.3.11

3 months ago

0.3.10

3 months ago

0.3.18

3 months ago

0.3.8

3 months ago

0.3.6

4 months ago

0.3.5

4 months ago

0.3.3

5 months ago

0.0.10

5 months ago

0.0.11

5 months ago

0.0.14

5 months ago

0.0.15

5 months ago

0.0.16

5 months ago

0.0.17

5 months ago

0.0.18

5 months ago

0.0.19

5 months ago

0.0.5

5 months ago

0.0.4

5 months ago

0.0.3

5 months ago