changes
This commit is contained in:
14
envprod.py
14
envprod.py
@@ -8,18 +8,8 @@ def search_text(file, text, new_text):
|
||||
f.write(content)
|
||||
|
||||
file = './app/plugins/02-connection.js'
|
||||
newtext1 = 'mode = "prod"'
|
||||
text1 = 'mode = "dev"'
|
||||
newtext2 = 'module = "application"'
|
||||
text2 = 'module = "dealer"'
|
||||
newtext3 = 'Biz_Setting'
|
||||
text3 = 'Dealer_Setting'
|
||||
newtext4 = 'Biz_Rights'
|
||||
text4 = 'Dealer_Rights'
|
||||
newtext1 = 'mode = "prod"'
|
||||
search_text(file, text1, newtext1)
|
||||
search_text(file, text2, newtext2)
|
||||
search_text(file, text3, newtext3)
|
||||
search_text(file, text4, newtext4)
|
||||
file = './app/assets/styles/main.scss'
|
||||
file = './app/stores/index.js'
|
||||
search_text(file,'export const useStore = defineStore("maindev", {','export const useStore = defineStore("main", {')
|
||||
search_text(file,'defineStore("erp-dev"','defineStore("erp"')
|
||||
|
||||
Reference in New Issue
Block a user