chore: move upload-to-github to TS (#26390)
This commit is contained in:
parent
40ebdb5c42
commit
946802600b
3 changed files with 24 additions and 12 deletions
|
@ -25,11 +25,13 @@ from lib.config import is_verbose_mode
|
|||
ELECTRON_DIR = os.path.abspath(
|
||||
os.path.dirname(os.path.dirname(os.path.dirname(__file__)))
|
||||
)
|
||||
TS_NODE = os.path.join(ELECTRON_DIR, 'node_modules', '.bin', 'ts-node')
|
||||
SRC_DIR = os.path.abspath(os.path.join(__file__, '..', '..', '..', '..'))
|
||||
|
||||
NPM = 'npm'
|
||||
if sys.platform in ['win32', 'cygwin']:
|
||||
NPM += '.cmd'
|
||||
TS_NODE += '.cmd'
|
||||
|
||||
|
||||
def tempdir(prefix=''):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue