mirror of https://github.com/Kylart/KawAnime.git
Added artifacts
This commit is contained in:
parent
c9821373ef
commit
30cbd56ed5
|
@ -46,6 +46,9 @@ install:
|
|||
|
||||
build: off
|
||||
|
||||
artifacts:
|
||||
- path: 'public\*.dll'
|
||||
|
||||
test_script:
|
||||
- node --version
|
||||
- npm --version
|
||||
|
|
|
@ -3,6 +3,7 @@ const { copyFileSync } = require('fs')
|
|||
const { join, basename } = require('path')
|
||||
|
||||
const PUBLIC_DIR = join(__dirname, '..', 'public')
|
||||
const BINDINGS_BUILD_PATH = join(__dirname, '..', 'bindings', 'build', 'Release')
|
||||
|
||||
function moveToPublic (filepath) {
|
||||
try {
|
||||
|
@ -28,6 +29,8 @@ function windows () {
|
|||
'libssl-1_1-x64.dll'
|
||||
].map((dll) => join(sys32Path, dll))
|
||||
|
||||
requiredDlls.push(join(BINDINGS_BUILD_PATH, 'torrent-rasterbar.dll'))
|
||||
|
||||
requiredDlls.forEach(moveToPublic)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue