mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-30 02:57:29 +09:00
followup of MoonchildProductions/UXP#1457, fix `mach package'
This commit is contained in:
parent
1fff7458c2
commit
1b26a48e8f
1 changed files with 1 additions and 8 deletions
|
|
@ -20,14 +20,7 @@ var SharedAll = require(
|
||||||
"resource://gre/modules/osfile/osfile_shared_allthreads.jsm");
|
"resource://gre/modules/osfile/osfile_shared_allthreads.jsm");
|
||||||
|
|
||||||
// Open the sqlite3 library.
|
// Open the sqlite3 library.
|
||||||
var path;
|
var path = ctypes.libraryName("mozsqlite3");
|
||||||
if (SharedAll.Constants.Sys.Name === "Android") {
|
|
||||||
path = ctypes.libraryName("sqlite3");
|
|
||||||
} else if (SharedAll.Constants.Win) {
|
|
||||||
path = ctypes.libraryName("nss3");
|
|
||||||
} else {
|
|
||||||
path = SharedAll.Constants.Path.libxul;
|
|
||||||
}
|
|
||||||
|
|
||||||
var lib;
|
var lib;
|
||||||
try {
|
try {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue