Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

remove PATH spec, rename file to prevent any confusion ever [hopefully]

  • Loading branch information...
commit a150c9fc4b9b96c17dd0cf564ffacdf45d4e76e7 1 parent 25c9605
@rdp authored
View
5 lib/simple_gui_creator.rb
@@ -11,10 +11,11 @@ def self.snake_case string
end
end
-require File.dirname(__FILE__) + '/simple_gui_creator/simple_gui_creator.rb'
+require File.dirname(__FILE__) + '/simple_gui_creator/simple_gui_creator_main.rb'
# some autoloads, in case they save any load time...
-for clazz in [:DriveInfo, :MouseControl, :PlayAudio, :PlayMp3Audio, :RubyClip, :Storage]
+# not in the SGC namespace since they're somewhat separate from GUI control...which seems a bit weird...
+for clazz in [:FfmpegHelpers, :DriveInfo, :MouseControl, :PlayAudio, :PlayMp3Audio, :RubyClip, :Storage]
new_path = File.dirname(__FILE__) + '/simple_gui_creator/' + SimpleGuiCreator.snake_case(clazz) + '.rb'
autoload clazz, new_path
end
View
2  lib/simple_gui_creator/ffmpeg_helpers.rb
@@ -1,6 +1,4 @@
-# use vendored ffmpeg
require 'sane'
-ENV['PATH'] = File.dirname(__FILE__) + '\vendor\ffmpeg\bin;' + ENV['PATH']
module FfmpegHelpers
def self.enumerate_directshow_devices
View
0  lib/simple_gui_creator/simple_gui_creator.rb → ...le_gui_creator/simple_gui_creator_main.rb
File renamed without changes
Please sign in to comment.
Something went wrong with that request. Please try again.