Skip to content

Commit

Permalink
Merge branch 'main' into replugged.app.asar
Browse files Browse the repository at this point in the history
  • Loading branch information
yofukashino authored Dec 3, 2024
2 parents 6154e88 + ec9d414 commit 904ee57
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "replugged",
"version": "4.8.2",
"version": "4.8.3",
"description": "A lightweight @discord client mod focused on simplicity and performance",
"license": "MIT",
"main": "dist/main.mjs",
Expand Down
4 changes: 2 additions & 2 deletions scripts/create-import-wrappers.mts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { writeFileSync } from "node:fs";
import { basename, join } from "node:path";
import { basename, posix } from "node:path";

type LocationsRegistry =
| string[]
Expand All @@ -19,7 +19,7 @@ const locations = {
function createWrappers(currentPath: string[], subpaths: LocationsRegistry): void {
if (Array.isArray(subpaths)) {
for (const subpath of subpaths) {
const fullPath = join(...currentPath, subpath);
const fullPath = posix.join(...currentPath, subpath);
const dtsContents = `export * from "./${fullPath}";`;
writeFileSync(`${basename(fullPath)}.d.ts`, dtsContents);
}
Expand Down

0 comments on commit 904ee57

Please sign in to comment.