Use less relative imports for new SE version

This commit is contained in:
Adam Goldsmith 2022-06-05 20:29:25 -04:00
parent a21fc55f83
commit f72d15098e
3 changed files with 5 additions and 5 deletions

View File

@ -2,7 +2,7 @@
# TTSDeck Root File # TTSDeck Root File
# #
id = CATALOGUEID{b601af40-5e79-4dd3-b920-0d8b215b7d77:2022-0-6-22-16-12-820} id = CATALOGUEID{b601af40-5e79-4dd3-b920-0d8b215b7d77:2022-4-29-22-23-30-464}
catalog-name = Tabletop Simulator Deck Generator catalog-name = Tabletop Simulator Deck Generator
catalog-credit = Adam Goldsmith <contact@adamgoldsmith.name> catalog-credit = Adam Goldsmith <contact@adamgoldsmith.name>

View File

@ -1,6 +1,6 @@
useLibrary("threads"); useLibrary("threads");
const Card = require("./Card.js"); const Card = require("ttsdeck/Card.js");
const TTS_CARDS_PER_IMAGE = 69; const TTS_CARDS_PER_IMAGE = 69;
const TTS_MAX_ROWS = 7; const TTS_MAX_ROWS = 7;

View File

@ -12,9 +12,9 @@ useLibrary("uilayout");
useLibrary("uicontrols"); useLibrary("uicontrols");
importClass(arkham.project.CopiesList); importClass(arkham.project.CopiesList);
const Card = require("./Card.js"); const Card = require("ttsdeck/Card.js");
const { TTSDeck } = require("./TTSDeck.js"); const { TTSDeck } = require("ttsdeck/TTSDeck.js");
const TTSJson = require("./TTSJson.js"); const TTSJson = require("ttsdeck/TTSJson.js");
const getName = () => "TTSDeck"; const getName = () => "TTSDeck";
const getDescription = () => "Generates a TTS deck image and JSON file"; const getDescription = () => "Generates a TTS deck image and JSON file";