Skip to content

Commit

Permalink
Updated path error
Browse files Browse the repository at this point in the history
  • Loading branch information
HashLips committed Nov 7, 2021
1 parent 14cadd5 commit 7b8b93b
Show file tree
Hide file tree
Showing 13 changed files with 309 additions and 341 deletions.
2 changes: 0 additions & 2 deletions constants/blend_mode.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
"use strict";

const MODE = {
sourceOver: "source-over",
sourceIn: "source-in",
Expand Down
2 changes: 0 additions & 2 deletions constants/network.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
"use strict";

const NETWORK = {
eth: "eth",
sol: "sol",
Expand Down
11 changes: 2 additions & 9 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
"use strict";

const path = require("path");
const isLocal = typeof process.pkg === "undefined";
const basePath = isLocal ? process.cwd() : path.dirname(process.execPath);
const { startCreating, buildSetup } = require(path.join(
basePath,
"/src/main.js"
));
const basePath = process.cwd();
const { startCreating, buildSetup } = require(`${basePath}/src/main.js`);

(() => {
buildSetup();
Expand Down
203 changes: 99 additions & 104 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hashlips_art_engine",
"version": "1.0.9",
"version": "1.1.1",
"description": "HashLips Art Engine is a tool used to create multiple different instances of artworks based on provided layers.",
"main": "index.js",
"bin": "index.js",
Expand Down
Loading

0 comments on commit 7b8b93b

Please sign in to comment.