mirror of
https://github.com/game-ci/unity-builder.git
synced 2025-07-04 12:25:19 -04:00
Properly check whether code is executed from source
This commit is contained in:
parent
4e59bb0d2a
commit
c55fc4eecd
BIN
dist/index.js
vendored
BIN
dist/index.js
vendored
Binary file not shown.
@ -10,7 +10,7 @@ export default class Action {
|
||||
}
|
||||
|
||||
static get isRunningFromSource() {
|
||||
return __dirname !== 'dist';
|
||||
return path.basename(__dirname) === 'model';
|
||||
}
|
||||
|
||||
static get name() {
|
||||
|
Loading…
Reference in New Issue
Block a user