mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
os: merge with filepath
This commit is contained in:
@ -7,7 +7,6 @@
|
||||
|
||||
module main
|
||||
|
||||
import filepath
|
||||
import rand
|
||||
import time
|
||||
import os
|
||||
@ -20,7 +19,7 @@ import sdl.ttf as ttf
|
||||
|
||||
const (
|
||||
Title = 'tVintris'
|
||||
BASE = filepath.dir( os.realpath( os.executable() ) )
|
||||
BASE = os.dir( os.realpath( os.executable() ) )
|
||||
FontName = BASE + '/../../assets/fonts/RobotoMono-Regular.ttf'
|
||||
MusicName = BASE + '/sounds/TwintrisThosenine.mod'
|
||||
SndBlockName = BASE + '/sounds/block.wav'
|
||||
|
Reference in New Issue
Block a user