Projects
Eulaceura:Factory
vscodium
_service:obs_scm:riscv64-use-local-electron.patch
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:riscv64-use-local-electron.patch of Package vscodium
--- vscode/node_modules/@vscode/gulp-electron/src/index.js 2024-09-05 13:15:50.957000000 +0800 +++ vscode/node_modules/@vscode/gulp-electron/src/index.js 2024-09-05 20:49:39.346170747 +0800 @@ -8,6 +8,7 @@ var symdest = require("gulp-symdest"); var download = require("./download"); var semver = require("semver"); +var zfs = require('gulp-vinyl-zip') function moveApp(platform, opts) { var appPath = platform.getAppPath(opts); @@ -17,6 +18,12 @@ }); } +function fromLocal(opts) { + const filename = `electron-v${opts.version}-linux-riscv64.zip`; + console.log(`Extracting Electron from ../${filename}`); + return zfs.src(`../${filename}`); +} + function _electron(opts) { var pass = es.through(); var result = es.through(); @@ -50,7 +57,7 @@ .merge(es.readArray(buffer), pass) .pipe(moveApp(platform, opts)); - var electron = download(opts).pipe(platform.patch(opts)); + var electron = fromLocal(opts).pipe(platform.patch(opts)); es.merge(sources, electron).pipe(result);
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2