修复gtk3版本声明问题; 版本号改为动态读取
parent
5424d3ff74
commit
1ba77b4cce
4
build.sh
4
build.sh
|
@ -1,10 +1,12 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
version=$(python3 -c "import sys; sys.path.insert(0, './usr/lib/python3/dist-packages/');from webengine.gtk3 import version;print(version)")
|
||||||
|
|
||||||
|
|
||||||
if [ -d unpack ]; then
|
if [ -d unpack ]; then
|
||||||
sudo rm -rf unpack
|
sudo rm -rf unpack
|
||||||
fi
|
fi
|
||||||
|
|
||||||
version="0.3.0"
|
|
||||||
|
|
||||||
mkdir -p unpack/DEBIAN
|
mkdir -p unpack/DEBIAN
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
build = (0, 3, 0)
|
build = (0, 4, 0)
|
||||||
version = '.'.join(map(str, build))
|
version = '.'.join(map(str, build))
|
|
@ -5,6 +5,7 @@
|
||||||
|
|
||||||
import gi, os, json, shutil, hashlib, time, threading
|
import gi, os, json, shutil, hashlib, time, threading
|
||||||
|
|
||||||
|
gi.require_version('Gtk', '3.0')
|
||||||
gi.require_version("WebKit2", "4.1")
|
gi.require_version("WebKit2", "4.1")
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue