pack: add .editorconfig and use tab instead of space
This commit is contained in:
1 parent
be3638b9d3
commit
be7a8ac3ea
27 files changed
+571
-560
No files matched your search
+94
-94
@@ -1,98 +1,98 @@
|
||||
{
|
||||
productName: 'Vutron',
|
||||
appId: 'com.vutron.vutron',
|
||||
asar: true,
|
||||
extends: null,
|
||||
compression: 'maximum',
|
||||
copyright: 'ⓒ 2022 ${author}',
|
||||
artifactName: '${productName} ${version}_${arch}.${ext}',
|
||||
directories: {
|
||||
buildResources: 'buildRes',
|
||||
output: './dist/release/${version}'
|
||||
},
|
||||
/* A list of files not to be included in the build. */
|
||||
files: [
|
||||
/*
|
||||
productName: 'Vutron',
|
||||
appId: 'com.vutron.vutron',
|
||||
asar: true,
|
||||
extends: null,
|
||||
compression: 'maximum',
|
||||
copyright: 'ⓒ 2022 ${author}',
|
||||
artifactName: '${productName} ${version}_${arch}.${ext}',
|
||||
directories: {
|
||||
buildResources: 'buildRes',
|
||||
output: './dist/release/${version}'
|
||||
},
|
||||
/* A list of files not to be included in the build. */
|
||||
files: [
|
||||
/*
|
||||
(Required) The files and folders listed below should not be included in the build.
|
||||
*/
|
||||
'dist/**/*',
|
||||
'!docs/**/*',
|
||||
'!dist/release/**/*',
|
||||
'!dist/main/index.ts'
|
||||
],
|
||||
mac: {
|
||||
bundleVersion: '1.0',
|
||||
hardenedRuntime: true,
|
||||
gatekeeperAssess: false,
|
||||
icon: 'buildRes/icons/icon.icns',
|
||||
type: 'distribution',
|
||||
target: [
|
||||
{
|
||||
target: 'dmg',
|
||||
arch: ['x64', 'arm64', 'universal']
|
||||
}
|
||||
]
|
||||
},
|
||||
dmg: {
|
||||
contents: [
|
||||
{
|
||||
x: 410,
|
||||
y: 150,
|
||||
type: 'link',
|
||||
path: '/Applications'
|
||||
},
|
||||
{
|
||||
x: 130,
|
||||
y: 150,
|
||||
type: 'file'
|
||||
}
|
||||
],
|
||||
sign: false
|
||||
},
|
||||
win: {
|
||||
icon: 'buildRes/icons/icon.ico',
|
||||
target: [
|
||||
{
|
||||
target: 'appx',
|
||||
arch: 'x64'
|
||||
},
|
||||
{
|
||||
target: 'zip',
|
||||
arch: 'x64'
|
||||
},
|
||||
{
|
||||
target: 'portable',
|
||||
arch: 'x64'
|
||||
},
|
||||
{
|
||||
target: 'nsis',
|
||||
arch: 'x64'
|
||||
}
|
||||
]
|
||||
},
|
||||
portable: {
|
||||
artifactName: '${productName} ${version}_${arch} Portable.${ext}'
|
||||
},
|
||||
nsis: {
|
||||
oneClick: true
|
||||
},
|
||||
linux: {
|
||||
executableName: 'vutron',
|
||||
icon: 'buildRes/icons',
|
||||
category: 'Utility',
|
||||
target: [
|
||||
{
|
||||
target: 'snap',
|
||||
arch: 'x64'
|
||||
},
|
||||
{
|
||||
target: 'deb',
|
||||
arch: 'x64'
|
||||
},
|
||||
{
|
||||
target: 'rpm',
|
||||
arch: 'x64'
|
||||
}
|
||||
]
|
||||
}
|
||||
'dist/**/*',
|
||||
'!docs/**/*',
|
||||
'!dist/release/**/*',
|
||||
'!dist/main/index.ts'
|
||||
],
|
||||
mac: {
|
||||
bundleVersion: '1.0',
|
||||
hardenedRuntime: true,
|
||||
gatekeeperAssess: false,
|
||||
icon: 'buildRes/icons/icon.icns',
|
||||
type: 'distribution',
|
||||
target: [
|
||||
{
|
||||
target: 'dmg',
|
||||
arch: ['x64', 'arm64', 'universal']
|
||||
}
|
||||
]
|
||||
},
|
||||
dmg: {
|
||||
contents: [
|
||||
{
|
||||
x: 410,
|
||||
y: 150,
|
||||
type: 'link',
|
||||
path: '/Applications'
|
||||
},
|
||||
{
|
||||
x: 130,
|
||||
y: 150,
|
||||
type: 'file'
|
||||
}
|
||||
],
|
||||
sign: false
|
||||
},
|
||||
win: {
|
||||
icon: 'buildRes/icons/icon.ico',
|
||||
target: [
|
||||
{
|
||||
target: 'appx',
|
||||
arch: 'x64'
|
||||
},
|
||||
{
|
||||
target: 'zip',
|
||||
arch: 'x64'
|
||||
},
|
||||
{
|
||||
target: 'portable',
|
||||
arch: 'x64'
|
||||
},
|
||||
{
|
||||
target: 'nsis',
|
||||
arch: 'x64'
|
||||
}
|
||||
]
|
||||
},
|
||||
portable: {
|
||||
artifactName: '${productName} ${version}_${arch} Portable.${ext}'
|
||||
},
|
||||
nsis: {
|
||||
oneClick: true
|
||||
},
|
||||
linux: {
|
||||
executableName: 'vutron',
|
||||
icon: 'buildRes/icons',
|
||||
category: 'Utility',
|
||||
target: [
|
||||
{
|
||||
target: 'snap',
|
||||
arch: 'x64'
|
||||
},
|
||||
{
|
||||
target: 'deb',
|
||||
arch: 'x64'
|
||||
},
|
||||
{
|
||||
target: 'rpm',
|
||||
arch: 'x64'
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user