summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaindropsSys <raindrops@equestria.dev>2024-05-20 17:08:06 +0200
committerRaindropsSys <raindrops@equestria.dev>2024-05-20 17:08:06 +0200
commita08a46502b51f7783d8f4dc941cf669503024683 (patch)
treeee5b5407727a3e5f3cec0e9a9e93096142f7c6e7
parentf8bc8ed8aae8627281a90efee6c9cae64e093318 (diff)
downloadlibfaunerie-a08a46502b51f7783d8f4dc941cf669503024683.tar.gz
libfaunerie-a08a46502b51f7783d8f4dc941cf669503024683.tar.bz2
libfaunerie-a08a46502b51f7783d8f4dc941cf669503024683.zip
Fix updater
-rw-r--r--.idea/.gitignore5
-rw-r--r--.idea/discord.xml12
-rw-r--r--.idea/libprisbeam.iml8
-rw-r--r--.idea/modules.xml8
-rw-r--r--.idea/php.xml13
-rw-r--r--.idea/vcs.xml6
-rw-r--r--package.json2
-rw-r--r--src/PrisbeamUpdater.ts2
8 files changed, 54 insertions, 2 deletions
diff --git a/.idea/.gitignore b/.idea/.gitignore
new file mode 100644
index 0000000..b58b603
--- /dev/null
+++ b/.idea/.gitignore
@@ -0,0 +1,5 @@
+# Default ignored files
+/shelf/
+/workspace.xml
+# Editor-based HTTP Client requests
+/httpRequests/
diff --git a/.idea/discord.xml b/.idea/discord.xml
new file mode 100644
index 0000000..3aef922
--- /dev/null
+++ b/.idea/discord.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+ <component name="DiscordProjectSettings">
+ <option name="show" value="PROJECT_FILES" />
+ <option name="description" value="" />
+ <option name="theme" value="material" />
+ <option name="button1Title" value="" />
+ <option name="button1Url" value="" />
+ <option name="button2Title" value="" />
+ <option name="button2Url" value="" />
+ </component>
+</project> \ No newline at end of file
diff --git a/.idea/libprisbeam.iml b/.idea/libprisbeam.iml
new file mode 100644
index 0000000..c956989
--- /dev/null
+++ b/.idea/libprisbeam.iml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<module type="WEB_MODULE" version="4">
+ <component name="NewModuleRootManager">
+ <content url="file://$MODULE_DIR$" />
+ <orderEntry type="inheritedJdk" />
+ <orderEntry type="sourceFolder" forTests="false" />
+ </component>
+</module> \ No newline at end of file
diff --git a/.idea/modules.xml b/.idea/modules.xml
new file mode 100644
index 0000000..b81cea6
--- /dev/null
+++ b/.idea/modules.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+ <component name="ProjectModuleManager">
+ <modules>
+ <module fileurl="file://$PROJECT_DIR$/.idea/libprisbeam.iml" filepath="$PROJECT_DIR$/.idea/libprisbeam.iml" />
+ </modules>
+ </component>
+</project> \ No newline at end of file
diff --git a/.idea/php.xml b/.idea/php.xml
new file mode 100644
index 0000000..88cd1bc
--- /dev/null
+++ b/.idea/php.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+ <component name="MessDetectorOptionsConfiguration">
+ <option name="transferred" value="true" />
+ </component>
+ <component name="PHPCSFixerOptionsConfiguration">
+ <option name="transferred" value="true" />
+ </component>
+ <component name="PHPCodeSnifferOptionsConfiguration">
+ <option name="highlightLevel" value="WARNING" />
+ <option name="transferred" value="true" />
+ </component>
+</project> \ No newline at end of file
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
new file mode 100644
index 0000000..35eb1dd
--- /dev/null
+++ b/.idea/vcs.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+ <component name="VcsDirectoryMappings">
+ <mapping directory="" vcs="Git" />
+ </component>
+</project> \ No newline at end of file
diff --git a/package.json b/package.json
index a655194..5d9da02 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "libprisbeam",
- "version": "2.3.0",
+ "version": "2.3.1",
"main": "index.js",
"scripts": {
"install": "tsc",
diff --git a/src/PrisbeamUpdater.ts b/src/PrisbeamUpdater.ts
index 56e33f8..319bfac 100644
--- a/src/PrisbeamUpdater.ts
+++ b/src/PrisbeamUpdater.ts
@@ -202,7 +202,7 @@ export class PrisbeamUpdater {
});
}
- const sqlite3 = require(process.platform === "darwin" ? "../../sql/mac" : "../../sql/win");
+ const sqlite3 = require(process.platform === "darwin" ? "../../../sql/mac" : "../../../sql/win");
global.preDatabase = new sqlite3.Database(preprocessed);
global.tagsDatabase = new sqlite3.Database(tags);