mirror of
https://github.com/Termix-SSH/Termix.git
synced 2026-08-29 18:31:33 +00:00
fix: preserve architecture in unpacked ASAR path (#1094)
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
function getUnpackedAppRoot(appRoot) {
|
||||
return appRoot.replace(
|
||||
/app(-[a-z0-9]+)?\.asar(?!\.unpacked)/,
|
||||
"app$1.asar.unpacked",
|
||||
);
|
||||
}
|
||||
|
||||
module.exports = { getUnpackedAppRoot };
|
||||
Reference in New Issue
Block a user