Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ahqsoftwares committed Sep 1, 2024
1 parent 1f1961f commit af8d981
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion index.mjs
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
import { Octokit } from "octokit";
import { join } from "path";
import { readFileSync } from "fs";

import { version } from "./tauri/package.json";
const data = readFileSync(join(__dirname, "tauri", "package.json")).toString();

const { version } = JSON.parse(data);

export default async function () {
const client = new Octokit({
Expand Down

0 comments on commit af8d981

Please sign in to comment.