mirror of
https://github.com/ddworken/hishtory.git
synced 2025-06-25 14:32:14 +02:00
Add TODO to install.py, and explicitly set CGO_ENABLED=1
This commit is contained in:
parent
a24676988d
commit
7e4f8e060f
@ -1,5 +1,8 @@
|
|||||||
version: 1
|
version: 1
|
||||||
|
|
||||||
|
env:
|
||||||
|
- CGO_ENABLED=1
|
||||||
|
|
||||||
flags:
|
flags:
|
||||||
- -trimpath
|
- -trimpath
|
||||||
|
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
version: 1
|
version: 1
|
||||||
|
|
||||||
|
env:
|
||||||
|
- CGO_ENABLED=1
|
||||||
|
|
||||||
flags:
|
flags:
|
||||||
- -trimpath
|
- -trimpath
|
||||||
|
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
version: 1
|
version: 1
|
||||||
|
|
||||||
|
env:
|
||||||
|
- CGO_ENABLED=1
|
||||||
|
|
||||||
flags:
|
flags:
|
||||||
- -trimpath
|
- -trimpath
|
||||||
|
|
||||||
|
@ -30,4 +30,5 @@ with open('/tmp/hishtory-client', 'wb') as f:
|
|||||||
f.write(hishtory_binary)
|
f.write(hishtory_binary)
|
||||||
os.system('chmod +x /tmp/hishtory-client')
|
os.system('chmod +x /tmp/hishtory-client')
|
||||||
os.system('/tmp/hishtory-client install')
|
os.system('/tmp/hishtory-client install')
|
||||||
print('Succesfully installed hishtory! Try running a command and then running `hishtory query`.')
|
# TODO: Detect if ^ failed
|
||||||
|
print('Succesfully installed hishtory! Open a new terminal, try running a command, and then running `hishtory query`.')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user