mirror of
https://github.com/FakeTV/pseudo-channel.git
synced 2025-12-28 14:13:13 +00:00
fixed branches in setup and update functions
This commit is contained in:
12
setup.py
12
setup.py
@@ -87,15 +87,15 @@ def randomize_episodes(channelsList):
|
|||||||
os.chdir('../')
|
os.chdir('../')
|
||||||
|
|
||||||
def ps_install():
|
def ps_install():
|
||||||
branchList = ['main','develop']
|
branchList = ['main','python2_dev','python2']
|
||||||
b = 1
|
b = 1
|
||||||
print("Select Pseudo Channel Repository Branch (default: master)")
|
print("Select Pseudo Channel Repository Branch (default: main)")
|
||||||
for branch in branchList:
|
for branch in branchList:
|
||||||
print(str(b)+": "+branch)
|
print(str(b)+": "+branch)
|
||||||
b = b+1
|
b = b+1
|
||||||
branchSelect = input('>: ')
|
branchSelect = input('>: ')
|
||||||
if branchSelect == "":
|
if branchSelect == "":
|
||||||
ps_branch = 'master'
|
ps_branch = 'main'
|
||||||
else:
|
else:
|
||||||
try:
|
try:
|
||||||
branchSelect = int(branchSelect)
|
branchSelect = int(branchSelect)
|
||||||
@@ -416,15 +416,15 @@ def copy_tv(clientList, installDir, path):
|
|||||||
|
|
||||||
def ps_update():
|
def ps_update():
|
||||||
print("Updating Pseudo Channel") #download and copy updates from git to all branches and boxes
|
print("Updating Pseudo Channel") #download and copy updates from git to all branches and boxes
|
||||||
branchList = ['main','develop']
|
branchList = ['main','python2_dev','python2']
|
||||||
b = 1
|
b = 1
|
||||||
print("Select Pseudo Channel Repository Branch (default: master)")
|
print("Select Pseudo Channel Repository Branch (default: main)")
|
||||||
for branch in branchList:
|
for branch in branchList:
|
||||||
print(str(b)+": "+branch)
|
print(str(b)+": "+branch)
|
||||||
b = b+1
|
b = b+1
|
||||||
branchSelect = input('>: ')
|
branchSelect = input('>: ')
|
||||||
if branchSelect == "":
|
if branchSelect == "":
|
||||||
ps_branch = 'master'
|
ps_branch = 'main'
|
||||||
else:
|
else:
|
||||||
try:
|
try:
|
||||||
branchSelect = int(branchSelect)
|
branchSelect = int(branchSelect)
|
||||||
|
|||||||
Reference in New Issue
Block a user