check remote version

This commit is contained in:
rustdesk
2022-03-25 18:56:55 +08:00
parent 725e8d3e54
commit 101bcbce9c
4 changed files with 1295 additions and 38 deletions

View File

@@ -9,6 +9,7 @@ def main():
print('export const LANGS = {')
for fn in glob.glob('../hbb/src/lang/*'):
lang = os.path.basename(fn)[:-3]
if lang == 'template': continue
print(' %s: {'%lang)
for ln in open(fn):
ln = ln.strip()
@@ -62,4 +63,4 @@ def main():
def removeComment(ln):
return re.sub('\s+\/\/.*$', '', ln)
main()
main()