Rogue Legacy: Remove relative imports and move to .apworld. (#1304)

* Remove relative import and remove `set_rule` usage.

* Set Rogue Legacy to be .apworld.
This commit is contained in:
Zach Parks
2022-12-08 08:54:49 -06:00
committed by GitHub
parent 1b582e5b09
commit bedc78d335
3 changed files with 17 additions and 17 deletions

View File

@@ -1,23 +1,25 @@
import base64
import datetime
import os
import platform
import shutil
import sys
import sysconfig
import platform
import zipfile
from pathlib import Path
from hashlib import sha3_512
import base64
import datetime
from Utils import version_tuple, is_windows, is_linux
from collections.abc import Iterable
import typing
import setuptools
from Launcher import components, icon_paths
import zipfile
from collections.abc import Iterable
from hashlib import sha3_512
from pathlib import Path
import setuptools
from Launcher import components, icon_paths
from Utils import version_tuple, is_windows, is_linux
apworlds: set = {
"Subnautica",
"Factorio",
"Rogue Legacy",
}
# This is a bit jank. We need cx-Freeze to be able to run anything from this script, so install it