Some checks failed
Build Dusk / build-linux (push) Failing after 1m24s
Build Dusk / run-tests (push) Failing after 1m17s
Build Dusk / build-psp (push) Failing after 1m34s
Build Dusk / build-dolphin (push) Failing after 2m5s
10 lines
360 B
Python
10 lines
360 B
Python
import os
|
|
from tools.asset.args import args
|
|
|
|
def getAssetRelativePath(fullPath):
|
|
# Get the relative path to the asset
|
|
return os.path.relpath(fullPath, start=args.assets).replace('\\', '/')
|
|
|
|
def getBuiltAssetsRelativePath(fullPath):
|
|
# Get the relative path to the built asset
|
|
return os.path.relpath(fullPath, start=args.output_assets).replace('\\', '/') |