mirror of
https://github.com/krateng/maloja.git
synced 2023-08-10 21:12:55 +03:00
Fixes
This commit is contained in:
parent
f2dd5862e2
commit
1be4e50b49
3
auxiliary/chromium_scrobbler/.gitignore
vendored
Normal file
3
auxiliary/chromium_scrobbler/.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
screenshot.png
|
||||
tile.png
|
||||
!*.sh
|
@ -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 128 icon128.png
|
||||
convert ../../maloja/web/static/png/favicon_large.png -resize 48 icon48.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 maloja-scrobbler/icon128.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
|
||||
rm ../maloja-scrobbler.zip
|
||||
zip ../maloja-scrobbler.zip sites/* *.js *.json *.html icon*.png
|
||||
rm ./maloja-scrobbler.zip
|
||||
zip ./maloja-scrobbler.zip maloja-scrobbler/*
|
@ -1,5 +1,4 @@
|
||||
import os
|
||||
from doreah.settings import config as settingsconfig
|
||||
from doreah.configuration import Configuration
|
||||
from doreah.configuration import types as tp
|
||||
|
||||
@ -296,7 +295,6 @@ config(
|
||||
}
|
||||
)
|
||||
|
||||
settingsconfig._readpreconfig()
|
||||
|
||||
# what the fuck did i just write
|
||||
# this spaghetti file is proudly sponsored by the rice crackers i'm eating at the
|
||||
|
@ -20,6 +20,7 @@ def print_header_info():
|
||||
print()
|
||||
|
||||
|
||||
|
||||
def getInstance():
|
||||
try:
|
||||
output = subprocess.check_output(["pidof","Maloja"])
|
||||
@ -91,8 +92,13 @@ def debug():
|
||||
|
||||
def print_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):
|
||||
|
||||
actions = {
|
||||
|
Loading…
Reference in New Issue
Block a user