Added support for Streamdeck Pedal and updated UI to better fit the Packed UI style
This commit is contained in:
33
node_modules/cmake-js/lib/targetOptions.js
generated
vendored
Normal file
33
node_modules/cmake-js/lib/targetOptions.js
generated
vendored
Normal file
@@ -0,0 +1,33 @@
|
||||
'use strict'
|
||||
|
||||
const environment = require('./environment')
|
||||
|
||||
class TargetOptions {
|
||||
get arch() {
|
||||
return this.options.arch || environment.arch
|
||||
}
|
||||
get isX86() {
|
||||
return this.arch === 'ia32' || this.arch === 'x86'
|
||||
}
|
||||
get isX64() {
|
||||
return this.arch === 'x64'
|
||||
}
|
||||
get isArm() {
|
||||
return this.arch === 'arm'
|
||||
}
|
||||
get isArm64() {
|
||||
return this.arch === 'arm64'
|
||||
}
|
||||
get runtime() {
|
||||
return this.options.runtime || environment.runtime
|
||||
}
|
||||
get runtimeVersion() {
|
||||
return this.options.runtimeVersion || environment.runtimeVersion
|
||||
}
|
||||
|
||||
constructor(options) {
|
||||
this.options = options || {}
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = TargetOptions
|
||||
Reference in New Issue
Block a user