mirror of
https://github.com/love2d/love-android.git
synced 2026-08-20 04:31:26 +02:00
updated physfs to inofficial 2.1 version
This commit is contained in:
Executable
+19
@@ -0,0 +1,19 @@
|
||||
#!/usr/bin/ruby
|
||||
|
||||
require 'physfs'
|
||||
|
||||
puts "testing PhysicsFS Ruby bindings..."
|
||||
puts "init..."
|
||||
|
||||
Physfs.init($0)
|
||||
|
||||
puts "user dir: " + Physfs.getUserDir()
|
||||
puts "base dir: " + Physfs.getBaseDir()
|
||||
puts "pref dir: " + Physfs.getPrefDir("icculus.org", "test_physfs")
|
||||
|
||||
puts "deinit..."
|
||||
Physfs.deinit()
|
||||
|
||||
puts "done!"
|
||||
exit(0)
|
||||
|
||||
Reference in New Issue
Block a user