-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.ts
29 lines (25 loc) · 1.35 KB
/
build.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
import { Installer } from "./installer/mod.ts";
const binaryName = `${Deno.env.get("BINARY_NAME")}`;
const version = await Deno.readTextFile('.version');
console.log('version', version, binaryName);
const installer = new Installer({
out_path: `${Deno.cwd()}/bundle/${binaryName}`,
src_path: `${Deno.cwd()}/bin/${binaryName}`,
package: {
product_name: "Galaxy Browser",
version,
description: "Knowledge Management System meets web4 browser on the infinite canvas",
homepage: "https://github.com/7flash/galaxy-polkadot",
authors: ["7flash"],
default_run: "GalaxyBrowser",
},
bundle: {
identifier: "do.galaxy.app",
icon: ["icon-128x128.jpg"],
resources: [],
copyright: "2023",
short_description: "Galaxy.do: Your decentralized hub for knowledge integration and sharing.",
long_description: "Galaxy.do stands at the intersection of knowledge and decentralized technology. Our platform empowers users to seamlessly import and adapt repositories, books, and documents, revolutionizing the way we engage with digital content. By allowing creators to mint their insights as NFTs and facilitating effortless Web3 integration, Galaxy.do is not merely a tool. It's the vanguard of a decentralized knowledge movement. Join us in shaping the future of open, democratized information access."
},
});
await installer.createInstaller();