更新 logo出现的时机
This commit is contained in:
parent
44bb0dd65f
commit
9e4642d0c2
@ -244,6 +244,7 @@ func watchChangeHandler(event fsnotify.Event) {
|
|||||||
func parseArgs() {
|
func parseArgs() {
|
||||||
switch {
|
switch {
|
||||||
case len(os.Args) == 1:
|
case len(os.Args) == 1:
|
||||||
|
show()
|
||||||
parseConfig()
|
parseConfig()
|
||||||
done := make(chan bool)
|
done := make(chan bool)
|
||||||
initWatcher()
|
initWatcher()
|
||||||
@ -314,7 +315,7 @@ func main() {
|
|||||||
log.SetPrefix("[FileBoy]: ")
|
log.SetPrefix("[FileBoy]: ")
|
||||||
log.SetFlags(2)
|
log.SetFlags(2)
|
||||||
log.SetOutput(os.Stdout)
|
log.SetOutput(os.Stdout)
|
||||||
show()
|
// show()
|
||||||
var err error
|
var err error
|
||||||
projectFolder, err = os.Getwd()
|
projectFolder, err = os.Getwd()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user