Browse files

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

  • Loading branch information...
1 parent 25c9605 commit a150c9fc4b9b96c17dd0cf564ffacdf45d4e76e7 @rdp committed Sep 14, 2012
@@ -11,10 +11,11 @@ def self.snake_case string
-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
@@ -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

0 comments on commit a150c9f

Please sign in to comment.