mirror of
https://github.com/status-im/re-natal.git
synced 2025-01-14 14:45:18 +00:00
fixed uuid2 creation
This commit is contained in:
parent
9efc0f368d
commit
e35d8240b4
@ -83,10 +83,9 @@ init = (projName) ->
|
|||||||
.digest('hex')[...24]
|
.digest('hex')[...24]
|
||||||
.toUpperCase()
|
.toUpperCase()
|
||||||
|
|
||||||
uuid2 = uuid1
|
uuid2 = uuid1.split ''
|
||||||
.split ''
|
uuid2.splice 7, 1, ((parseInt(uuid1[7], 16) + 1) % 16).toString(16).toUpperCase()
|
||||||
.splice 7, 1, ((parseInt(uuid1[7], 16) + 1) % 16).toString(16).toUpperCase()
|
uuid2 = uuid2.join ''
|
||||||
.join ''
|
|
||||||
|
|
||||||
editSync \
|
editSync \
|
||||||
"#{ projName }.xcodeproj/project.pbxproj",
|
"#{ projName }.xcodeproj/project.pbxproj",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user