1
0
mirror of https://github.com/krateng/maloja.git synced 2023-08-10 21:12:55 +03:00
This commit is contained in:
krateng 2021-12-24 07:29:59 +01:00
parent f2dd5862e2
commit 1be4e50b49
5 changed files with 17 additions and 10 deletions

View File

@ -0,0 +1,3 @@
screenshot.png
tile.png
!*.sh

View File

@ -1,6 +1,6 @@
convert ../../maloja/web/static/png/favicon_large.png -resize 256 icon256.png convert ../../maloja/web/static/png/favicon_large.png -resize 256 maloja-scrobbler/icon256.png
convert ../../maloja/web/static/png/favicon_large.png -resize 128 icon128.png convert ../../maloja/web/static/png/favicon_large.png -resize 128 maloja-scrobbler/icon128.png
convert ../../maloja/web/static/png/favicon_large.png -resize 48 icon48.png convert ../../maloja/web/static/png/favicon_large.png -resize 48 maloja-scrobbler/icon48.png
convert ../../maloja/web/static/png/favicon_large.png -background none -resize 280 -gravity center -extent 440x280 -background "#232327" -flatten tile.png convert ../../maloja/web/static/png/favicon_large.png -background none -resize 280 -gravity center -extent 440x280 -background "#232327" -flatten tile.png
rm ../maloja-scrobbler.zip rm ./maloja-scrobbler.zip
zip ../maloja-scrobbler.zip sites/* *.js *.json *.html icon*.png zip ./maloja-scrobbler.zip maloja-scrobbler/*

View File

@ -1,5 +1,4 @@
import os import os
from doreah.settings import config as settingsconfig
from doreah.configuration import Configuration from doreah.configuration import Configuration
from doreah.configuration import types as tp from doreah.configuration import types as tp
@ -296,7 +295,6 @@ config(
} }
) )
settingsconfig._readpreconfig()
# what the fuck did i just write # what the fuck did i just write
# this spaghetti file is proudly sponsored by the rice crackers i'm eating at the # this spaghetti file is proudly sponsored by the rice crackers i'm eating at the

View File

@ -20,6 +20,7 @@ def print_header_info():
print() print()
def getInstance(): def getInstance():
try: try:
output = subprocess.check_output(["pidof","Maloja"]) output = subprocess.check_output(["pidof","Maloja"])
@ -91,8 +92,13 @@ def debug():
def print_info(): def print_info():
print_header_info() print_header_info()
print("Configuration Directory:",globalconf.dir_settings['config'])
print("Data Directory: ",globalconf.dir_settings['state'])
print()
print("#####")
print()
@mainfunction({"l":"level","v":"version"},shield=True) @mainfunction({"l":"level"},shield=True)
def main(*args,**kwargs): def main(*args,**kwargs):
actions = { actions = {